<style type="text/css">
    .left-heard{background: #c9d4dc;}
</style>
<div class="panel panel-default">
    <div class="panel-heading">基础信息</div>
    <div class="panel-body">
        <table class="table table-bordered">
            <tr>
                <td class="left-heard col-xs-12 col-sm-2">商家ID</td>
                <td class="col-xs-12 col-sm-4">{$info.id}</td>
                <td class="left-heard col-xs-12 col-sm-2">商家名称</td>
                <td class="col-xs-12 col-sm-4">{$info.shop_name}</td>
            </tr>
            <tr>
                <td class="left-heard col-xs-12 col-sm-2">开通时间</td>
                <td class="col-xs-12 col-sm-4">{$info.createtime|date="Y-m-d H:i:s",###}</td>
                <td class="left-heard col-xs-12 col-sm-2"></td>
                <td class="col-xs-12 col-sm-4"></td>
            </tr>
        </table>
    </div>
</div>

<div class="panel panel-default">
    <div class="panel-heading">详细信息</div>
    <div class="panel-body">
        <table class="table table-bordered">
            <tr>
                <td class="left-heard col-xs-12 col-sm-2">门店地址</td>
                <td class="col-xs-12 col-sm-4">{$info.amap_province.name}{$info.amap_city.name}{$info.amap_districts.name}{$info.address}</td>
                <td class="left-heard col-xs-12 col-sm-2">法人</td>
                <td class="col-xs-12 col-sm-4">{$info.legal_person}</td>
            </tr>
            <tr>
                <td class="left-heard col-xs-12 col-sm-2">联系人</td>
                <td>{$info.contacts}</td>
                <td class="left-heard col-xs-12 col-sm-2">联系电话</td>
                <td>{$info.phone}</td>
            </tr>
            <tr>
                <td class="left-heard col-xs-12 col-sm-2" style="text-align: left; vertical-align: middle; ">营业执照</td>
                <td >
                    <div style="text-align:left;overflow:hidden;white-space: nowrap;text-overflow: ellipsis;">
                        <a href="{$info.business_license}" target="_blank">
                            <img src="{$info.business_license}" alt="" style="max-height:60px;max-width:120px">
                        </a>
                    </div>
                </td>
                <td class="left-heard col-xs-12 col-sm-2" style="text-align: left; vertical-align: middle; ">门店实景图片</td>
                <td style="text-align: center; vertical-align: middle; ">
                    <div style="text-align:left;overflow:hidden;white-space: nowrap;text-overflow: ellipsis;">
                        {foreach name="info.shop_images" item="vo"}
                        <a href="{$vo.image_url}" target="_blank">
                            <img src="{$vo.image_url}" alt="" style="max-height:60px;max-width:120px">
                        </a>
                        {/foreach}
                    </div>

                </td>
            </tr>
            <tr>
                <td class="left-heard col-xs-12 col-sm-2">商家来源</td>
                <td>
                    {if $info.source == 1}
                    平台分配
                    {else /}
                    线下发展
                    {/if}
                </td>
                <td class="left-heard col-xs-12 col-sm-2">单次固定充值金额</td>
                <td>{$info.fixed_amount}</td>
            </tr>
        </table>
    </div>
</div>


